package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysDeviceState;
import com.ruoyi.system.domain.SysDeviceStateFile;
import com.ruoyi.system.domain.SysMarketFile;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface SysDeviceStateMapper {
    public List<SysDeviceState> selectSysDeviceStateList(Long deviceIdt);

    public int insertSysDeviceState(SysDeviceState sysDeviceState);

    public Long insertPathName(SysDeviceStateFile stateFile);

    public int updateSysDeviceState(SysDeviceState sysDeviceState);

    public void updatePathName(SysDeviceStateFile stateFile);

    public int deleteMarketFileById(Long fileId);

    List<SysMarketFile> selectDocFileByFileId(Long id);

    List<SysDeviceState> selectDeviceStateServiceById(Long devId);

    SysDeviceState selectDeviceStateServiceByDevId(Long devId);
}
